/**
  * Created by yamei on 2017/7/26.
  */
object splitting_strings {
  def main(args: Array[String]): Unit = {
    val str = "hello world".split(" ").foreach(println)

  }

}
